package com.open.server.one.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author ：liushuai
 * @date ：Created in 2021/9/30 10:15
 * @description：${description}
 * @modified By：
 * @version: $version$
 */
@FeignClient(name = "service2", url = "http://127.0.0.1:8082")
public interface OderService {
    @PostMapping(value = "/getOrderByName")
    String getOrderByName(@RequestBody String name);
}
